package cn.tianya.irock.util;

import java.io.Writer;

import com.thoughtworks.xstream.io.json.JsonWriter;
import com.thoughtworks.xstream.io.HierarchicalStreamWriter;
import com.thoughtworks.xstream.io.json.JsonHierarchicalStreamDriver;

public class FormatedJsonHierarchicalStreamDriver extends
		JsonHierarchicalStreamDriver {

    @Override
    public HierarchicalStreamWriter createWriter(Writer out) {
        return new JsonWriter(out, "", "");
    }
}
